import {Config} from '../../utils/conf.js';
import {httpReq} from '../../utils/http.js';

class allans
{
  getList(that,qid,offset){
    let obj = {};
    obj.url = Config.getallans + qid;
    obj.data = {offset,limit:10}
    httpReq(obj).then(res=>{
      that.setData({
        rows: res.data.data,
        limit: res.data.data.length + that.data.limit
      })
    })
  }
}

export default allans;